home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Mac-Source 1994 July
/
Mac-Source_July_1994.iso
/
C and C++
/
Libraries
/
File class library
/
sources
/
launch.c
< prev
Wrap
Text File
|
1992-09-14
|
393b
|
31 lines
#ifdef _Launch
pascal void DoLaunch (StringPtr application, short code);
pascal void DoLaunch (StringPtr application, short code)
{
struct
{
StringPtr name;
short memoryCode;
char parameters[2];
long extensionLength;
short finderFlags;
long launchFlags;
} data;
data.name= application;
data.launchFlags= code;
asm
{
lea data, A0
Launch
}
}
#endif